/*
 * @FilePath: /tads/server/app/business/router/auth.go
 * @Author: wnina0x0
 * @Date: 2025-04-17 15:38:20
 * @Description:
 *
 * 版权信息 : 2025 by wnina0x0, All Rights Reserved.
 */
package router

import (
	"tads/server/app/business/apis"

	"github.com/gin-gonic/gin"
)

func init() {
	routerNoCheckRole = append(routerNoCheckRole, registerAuthRouter)
}

// 总线管理模块
func registerAuthRouter(v1 *gin.RouterGroup) {
	api := apis.Auth{}
	r := v1.Group("/auth")
	{
		r.GET("/login", api.Login)
		r.GET("/recevie", api.ReceiveToken)
		r.GET("/logout", api.Logout)
	}
}
